home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr57
/
cordin.zip
/
CORDINE.H
< prev
next >
Wrap
Text File
|
1993-06-01
|
2KB
|
79 lines
/* cordine.h ... freeware button accordion dialog example
* jack j. woehr p.o. box 51, golden co 80402-0051
* jax@well.sf.ca.us JAX on GEnie 72203.1320@compuserve.com
* SYSOP, RealTime Control & Forth Board [RCFB] (303) 278-0364
*/
#define IDM_LO_C 101
#define IDM_LO_G 102
#define IDM_C 103
#define IDM_G 104
#define IDM_LO_D 105
#define IDM_LO_A 106
#define IDM_D 107
#define IDM_A 108
#define IDM_LO_E 109
#define IDM_LO_BFLAT 110
#define IDM_E 111
#define IDM_BFLAT 112
#define IDM_LO_F 113
#define IDM_LO_B 114
#define IDM_F 115
#define IDM_B 116
#define IDM_HI_C 117
#define IDM_HI_G 118
#define IDM_HI_D 119
#define IDM_HI_A 120
#define IDM_HI_E 121
#define IDM_HI_BFLAT 122
#define IDM_HI_F 123
#define IDM_HI_B 124
#define IDM_DURATION 125
#define IDMSC_ABOUT 999
#define ABOUT_OK1 105
#define ABOUT_OK2 106
#define IDMSC_HELP 888
#define IDMSC_BAYOU 101
#define TONE_LO_C 262
#define TONE_LO_D 293
#define TONE_LO_E 329
#define TONE_LO_F 348
#define TONE_LO_G 391
#define TONE_LO_A 440
#define TONE_LO_BFLAT 465
#define TONE_LO_B 493
#define TONE_C 522
#define TONE_D 586
#define TONE_E 657
#define TONE_F 696
#define TONE_G 780
#define TONE_A 880
#define TONE_BFLAT 932
#define TONE_B 988
#define TONE_HI_C 1045
#define TONE_HI_D 1173
#define TONE_HI_E 1314
#define TONE_HI_F 1392
#define TONE_HI_G 1561
#define TONE_HI_A 1760
#define TONE_HI_BFLAT 1864
#define TONE_HI_B 1974
// HWND CordineWindow;
int duration = 250 ; // 50 ms is fastest note we'll play
// int because it's loaded from WM_HSCROLL, we'll cast for Beep()
BOOL InitApplication(HANDLE);
BOOL InitInstance(HANDLE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK CordineProc (HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK AboutProc ( HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK HelpProc ( HWND, UINT, WPARAM, LPARAM);